package com.woniuxy.amusementparkos.exception.lzw.unifyhanding.handing;

import com.woniuxy.amusementparkos.exception.lzw.KnownException;
import com.woniuxy.amusementparkos.exception.lzw.unifyhanding.code.PublicCode;

/**
 * 异常抛出
 *
 * @author lizhiwen
 * @create 2020-04-29 11:09 下午
 */
public class ThrowException {

    public static void throwException(PublicCode publicCode){
        throw new KnownException(publicCode);
    }

}
